package com.dashu.core.model;


import com.dashu.base.enums.school.TeacherIidentityType;
import com.dashu.core.dto.BaseDTO;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Entity
@Table(name = "ds_teacher_cls")
@Data
public class TeacherCls {

    @Id
    private long id; //主键id
    private long createTime;//创建时间
    private long createUser;// 创建者
    private long updateTime;//更新时间
    private long updateUser;//更新者
    @Enumerated(EnumType.STRING)
    private TeacherIidentityType identity; // 关系
    private long bindTeacher;//教师
    private long bindCls;//班级
    private long companyId;//所属学校
}
